/**
 * @author chenmin
 * @class  弹出面板===>我的问题===>举报
 */

'use strict';

var Dispatcher = require('../dispatchers/default');
var PanelRouterConstant = require('../constants/panelRouter');
var assign = require('object-assign');


module.exports = {
  PANEL_ROUTER_REPORT: function(params) {
    Dispatcher.handleViewAction({
      actionType: PanelRouterConstant.PANEL_ROUTER,//面板路由ID
      params:params // 面板所需参数 
    });
  },
  PANEL_ROUTER_REFUSE: function(params) {
    Dispatcher.handleViewAction({
      actionType: PanelRouterConstant.PANEL_ROUTER_REFUSE,
      params:params 
    });
  },
  PANEL_ROUTER_CART:function(params) {
    Dispatcher.handleViewAction({
      actionType: PanelRouterConstant.PANEL_ROUTER_CART,
      params:params 
    });
  },
  PANEL_ROUTER_WORDS:function(params){
    Dispatcher.handleViewAction({
      actionType: PanelRouterConstant.PANEL_ROUTER_WORDS,
      params:params 
    });
  },
  PANEL_ROUTER_EDIT:function(params){
    Dispatcher.handleViewAction({
      actionType: PanelRouterConstant.PANEL_ROUTER_EDIT,
      params:params
    });
  },
  PANEL_ROUTER_NOTICE:function(params){
    Dispatcher.handleViewAction({
      actionType: PanelRouterConstant.PANEL_ROUTER_NOTICE,
      params:params
    });
  }

};
